<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
            <% String path=request.getContextPath(); String basePath=request.getScheme() + "://" +
                request.getServerName() + ":" + request.getServerPort() + path + "/" ; %>
                <html>

                <head>
                    <title>Error</title>
                </head>

                <body>
                    <h3>注册用户名或密码为空！</h3><br>
                    <a href="<%=basePath%>/register.jsp">点击返回注册</a>
                </body>

                </html>